<div class="alert">
    <a href class="close" ng-click="close({message: 'closing for now'})">&times;</a>
    <div ng-transclude></div>
</div>